//
// Created by xiaoma on 1/31/21.
//

#include "CodeObject.h"

CodeObject::CodeObject(int argCount, int localCount, int stackSize, int flag, HiString *byteCode,
                       ArrayList<HiObject *>* consts, ArrayList<HiObject *>* names, ArrayList<HiObject *>* varNames,
                       ArrayList<HiObject *>* freeVars, ArrayList<HiObject *>* cellVars, HiString *fileName,
                       HiString *moduleName, int lineNo, HiString *noTable) : _argCount(argCount), _localCount(localCount),
                                                                          _stackSize(stackSize), _flag(flag),
                                                                          _byteCode(byteCode), _consts(consts),
                                                                          _names(names), _varNames(varNames),
                                                                          _freeVars(freeVars), _cellVars(cellVars),
                                                                          _fileName(fileName), _moduleName(moduleName),
                                                                          _lineNo(lineNo), _noTable(noTable) {}
